package com.xykj.common.entry;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
 *分时股票数据表
 **/

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class StockData {
    private Long id;
    private String stockCode;
    private String stockName;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dataTime;

    private BigDecimal price;
    private Long volume;
    private Integer isDeleted;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;

    private String createdBy;
    private String updatedBy;
}
